package cn.school.workflow.dao;

import cn.school.attendance.classes.vo.ClassesAttendanceInfoPageParam;
import cn.school.attendance.classes.vo.LeaveAndNotArrivedStudentInfoVo;
import cn.school.workflow.vo.StudentLeaveSelfApplyVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface StudentLeaveSelfApplyDao extends BaseMapper<StudentLeaveSelfApplyVO> {

    List<String> getSelfLeaveStuList(@Param("targetDate")String targetDate);

    List<StudentLeaveSelfApplyVO> findIsExistLeaveByDate(@Param("startDate") String startDate,
                                                         @Param("endDate")String endDate,
                                                         @Param("studentId")String studentId);
}
